/**
 * @author Kristian Mandrup
 * @date May 25, 2009
 * @version 0.1
 * 
 * m3gen : RuleSet configuration (person)
 * 
 */

// RuleSet : person
var ruleSet_person = {
    branchTypeRules: {
        'folder': {
            icon: 'folder.png',
            state: 'closed'
        }
    },
	
    functions: personSelectFunctions,
	// one childBranch for selecting boys and putting them in 'My boys' folder node	
    branchRules: [{
        branchDef: {
            id: 'boys',
            title: 'My boys',
            branchType: 'folder'
        },
        selectors: ['myChildren.boys', 'myChildren.girls']
    }],
	
	// local settings overriding global settings	
    defaultState: 'closed',
    useUniqueId: true,
    iconsPath: 'images/person'
	// pathMethod: 'jpath'
}
